import {
	http
} from '@/request/index.js'

// 1.登陆(/index/login)
export function Login(data) {
	return http.post('/user/login', data)
}
export function checkauthentication(data) {
	return http.post('/user/checkauthentication', data)
}
export function deluser(data) {
	return http.post('/homepage/deluser', data)
}

export function Register(data) {
	return http.post('/user/register', data)
}

export function Logout(data) {
	return http.post('/user/logout', data)
}

export function sendsms(data) {
	return http.post('/sms/send', data)
}

export function sendreset(data) {
	return http.post('/sms/sendreset', data)
}

export function authentication(data) {
	return http.post('/sms/authentication', data)
}

export function resetwithdrawcode(data) {
	return http.post('/sms/sendwithdraw', data)
}

export function resetpwd(data) {
	return http.post('/user/resetpwd', data)
}

export function resetwithdraw(data) {
	return http.post('/withdraw/resetpassword', data)
}

export function userInfo(data) {
	return http.post('/user/getuserinfo', data)
}

